package org.sundatagroup.aurora.core.config;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.sundatagroup.aurora.core.service.ModuleService;
import org.sundatagroup.aurora.core.service.ProjectService;
import org.sundatagroup.aurora.core.service.querier.QuerierCenter;

/**
 * <p>核心部分的注册者, 注册通用服务
 * </p>
 * 
 * @author Zdream
 * @date 2018-05-30
 * @since 0.2.0
 */
@Component
public class CoreRegister extends AbstractRegister {

	@Autowired
	private QuerierCenter qrCenter;

	@Autowired
	private ModuleService ms;

	@Autowired
	private ProjectService ps;

	@Override
	public void doRegister() {
		qrCenter.register(ms);
		qrCenter.register(ps);
	}

}
